﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.Base
{
    /// <summary>
    /// Base_UnitItems
    /// </summary>
    [Table("Base_UnitItems")]
    public partial class Base_UnitItems
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 计量单位组ID
        /// </summary>
        public String GroupId { get; set; }

        /// <summary>
        /// 计量单位编码
        /// </summary>
        public String Code { get; set; }

        /// <summary>
        /// 计量单位名称
        /// </summary>
        public String Name { get; set; }

        /// <summary>
        /// 计量单位类别
        /// </summary>
        public String Type { get; set; }

        /// <summary>
        /// 英文名称单数
        /// </summary>
        public String Ensingle { get; set; }

        /// <summary>
        /// 英文名称复数
        /// </summary>
        public String EnMult { get; set; }

        /// <summary>
        /// 对应二维码
        /// </summary>
        public String QrCode { get; set; }

        /// <summary>
        /// 换算率
        /// </summary>
        public Decimal? Ratio { get; set; }

        /// <summary>
        /// 是否主计量单位：0=否；1=是
        /// </summary>
        public Boolean IsDefault { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean Deleted { get; set; }
        /// <summary>
        /// 换算率X
        /// </summary>
        public Decimal? RatioX { get; set; }
        /// <summary>
        /// 运算符号键
        /// </summary>
        public string SymbolicKey { get; set; }

    }
}